package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.player.UserTravel;

public class UserTravelBussiness {

	public static UserTravel getUserTravel(long userId) {
		return DaoHelper.getUserTravelDaoImpl().getUserTravel(userId);
	}

	public static boolean addUserTravel(UserTravel userTravel) {
		return DaoHelper.getUserTravelDaoImpl().add(userTravel);
	}

	public static boolean updateUserTravel(UserTravel userTravel) {
		return DaoHelper.getUserTravelDaoImpl().update(userTravel);
	}
}
